﻿using System.Collections.ObjectModel;
using CI.Models.Production.Interfaces;

namespace CI.Models.Production
{
    public class StoreItemsJob : JobBase, IStoreItemsJob
    {
        private ILocation _location;

        private ObservableCollection<IQuantifiedItem> _items;

        public StoreItemsJob()
        {
            Items = new ObservableCollection<IQuantifiedItem>();
        }

        public ILocation Location
        {
            get { return _location; }
            internal set { SetField(ref _location, value, () => Location); }
        }

        public ObservableCollection<IQuantifiedItem> Items
        {
            get { return _items; }
            private set { SetField(ref _items, value, () => Items); }
        }
    }
}